package kr.salebeans.cm.sale.search;

/**
 *======================================================
 * @see 	: InteSaleSearchCond
 * @author  : bgkang
 * @since 	: 2012. 11. 14.
 * @note    : 년/월/일 자별 통합조회(손님수,매출액 정보)
 *======================================================
 */
public class InteSaleSearchCond {

    public static final int DAY_FIELD = 0;
    public static final int CUSTOMER_COUNT_FIELD = 1;
    public static final int AMOUNT_FIELD = 2;

    public enum InteSaleSearchType {
        YEAR("년별"), MONTH("월별"), DAY("일별"), ;

        private final String description;

        private InteSaleSearchType(String description) {
            this.description = description;
        }

        public String getDescription() {
            return description;
        }

    }

    private String shopId;

    private InteSaleSearchType inteSaleSearchType;

    private String searchFromDate;

    private String searchEndDate;

    public InteSaleSearchType getInteSaleSearchType() {
        return inteSaleSearchType;
    }

    public void setInteSaleSearchType(InteSaleSearchType inteSaleSearchType) {
        this.inteSaleSearchType = inteSaleSearchType;
    }

    public String getSearchFromDate() {
        return searchFromDate;
    }

    public void setSearchFromDate(String searchFromDate) {
        this.searchFromDate = searchFromDate;
    }

    public String getSearchEndDate() {
        return searchEndDate;
    }

    public void setSearchEndDate(String searchEndDate) {
        this.searchEndDate = searchEndDate;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

}
